package com.atguigu.service;

import com.atguigu.pojo.Page;
import com.atguigu.pojo.TomcatAndHeartbeatServiceConfig;

import java.util.List;

public interface TomcatAndHeartbeatServiceConfigService {
    public void addTomcatAndHeartbeatServiceConfig(TomcatAndHeartbeatServiceConfig tomcatAndHeartbeatServiceConfig);
    public void updateTomcatAndHeartbeatServiceConfig(TomcatAndHeartbeatServiceConfig tomcatAndHeartbeatServiceConfig);
    public void deleteTomcatAndHeartbeatServiceConfigById(String id);
    public TomcatAndHeartbeatServiceConfig queryTomcatAndHeartbeatServiceConfigById(String id);
    public TomcatAndHeartbeatServiceConfig queryTomcatAndHeartbeatServiceConfigByServiceId(String serviceId);
    public List<TomcatAndHeartbeatServiceConfig> queryTomcatAndHeartbeatServiceConfigsByProjectModuleId(String projectModuleId);
    public List<TomcatAndHeartbeatServiceConfig> queryTomcatAndHeartbeatServiceConfigsByProjectModuleIdAndDeployEnvId(String projectModuleId,String deployEnvId);
    public List<TomcatAndHeartbeatServiceConfig> queryTomcatAndHeartbeatServiceConfigs();
    public Page page(Integer pageNo, Integer pageSize);
}
